﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;

namespace UML_Creator.Model
{
    public class ClassDiagram : StructureDiagram
    {
        private string className;
        public string ClassName { get { return className; } set { className = value; NotifyPropertyChanged("ClassName"); } }
       
        private string classAttributes;
        public string ClassAttributes { get { return classAttributes; } set { classAttributes = value; NotifyPropertyChanged("ClassAttributes"); } }

        private string classMethods;
        public string ClassMethods { get { return classMethods; } set { classMethods = value; NotifyPropertyChanged("ClassMethods"); } }

        public ClassDiagram() : base()
        {
            X = Y = 150 + 10*Number;
        }

        public ClassDiagram(string title, string description) : this()
        {
            Title = title;
            Description = description;
        }
    }
}
